package com.flyqiu.flow.model.format.flowable;

import com.alibaba.fastjson2.JSONObject;
import org.dom4j.Attribute;
import org.dom4j.Element;

import java.util.List;
import java.util.Map;

public class FlowableDiagramFormat extends DefaultFlowableElementFormat {
    @Override
    public String xmlElementType() {
        return "BPMNPlane";
    }

    @Override
    public String jsonElementType() {
        return "diagram";
    }

    @Override
    protected void elementToJson(Element element, List<Attribute> unProcessedAttrs, Map<String, Attribute> elementAttrMap, JSONObject result) {
        super.elementToJson(element, unProcessedAttrs, elementAttrMap, result);
    }
}
